/* Konpei (warps to Hideout entrance from Bodyguard room)
   By buya
*/
void npc(Player @player, NPC @npc) {
int state = npc.getState();
if(state == 0) {
if(player.getItemAmount(4000141) == 0) {
npc.addText("Once you eliminate the boss, you'll have to show me the boss's flashlight as evidence. I won't believe it until you show me the flashlight! What? You want to leave this room?");
npc.sendYesNo();
}
else if(state == 2) {
if(npc.getSelected() == YES) {
player.changeMap(801040000);
} else {
npc.addText("I really admire your toughness! Well, if you decide to return to Showa Town, let me know~!");
npc.sendOK();
}
npc.end();
}
} else { // No clue what happens here yet
npc.end();
}
}